﻿using System;
using System.Collections.Generic;
using System.Reflection;
namespace Moonlite.ExtensionApi.XimlInterfaces
{
    public interface IXimlTree
    {
        Dictionary<string, INodeDataProvider> DataProviders { get; }
        Dictionary<string, object> Resources { get; }
        Dictionary<string, DescriptorBase> Descriptors { get; }
        Assembly CurrentAssembly { get; }
        IMenuService MenuService { get; }
        IObjectManager ObjectManager { get; }
        void BuildItem(string text);
        void BuildItem(string text, bool keepInCache);
        void BuildItem(string text, bool keepInCache, Assembly assembly);
        DescriptorBase GetDescriptorFromGuid(string guid);
        bool IsNativeElement(string guid);
    }
}
